You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: BED-10671 add stable IDs to saved searches and Tier Zero rules - #114
Generate BHE Bundle fails when GitHub saved searches lack query_key and Tier Zero rules lack key, blocking Enterprise bundle updates. Add unique, stable GH_ identifiers to all 62 saved searches and 12 Tier Zero rules, preserving the existing assigned search ID and all query and rule content.
Validation: parsed all 74 JSON files, checked ID presence and uniqueness, compared non-ID content against the base revision, and passed git diff --check. End-to-end Generate BHE Bundle and ZIP validation will be performed separately by the maintainer.
Summary by CodeRabbit
Improvements
Added consistent identifiers to saved searches and privilege-rule entries across repository access, security, identity, and workflow topics.
These entries can now be distinguished and referenced consistently in the catalog.
No actionable comments were generated in the recent review.
Walkthrough
The pull request adds or updates GH_ keys in Tier Zero privilege zone rules and saved-search configurations. It changes configuration identifiers without changing the accompanying saved-search queries, names, or descriptions where noted.
Changes
Configuration identifiers
Layer / File(s)
Summary
Tier Zero rule keys extension/privilege_zone_rules/*.json
Adds or updates key values for 12 Tier Zero privilege zone rules.
This PR adds stable GH_ identifiers to saved searches and Tier Zero rules so bundle generation no longer fails on missing keys. No concrete problem was found. Running Generate BHE Bundle once after merge, or before it, would confirm the fix end to end.
Architecture risk: Low · up to d3973
The change affects 1 system.
Changed systems:extension
Architecture concerns
No architecture-level concerns identified.
Review details
Systems and components
observed — extension (service) was modified; 74 changed files map to changed impact.
Before / after behavior
observed — Modified behavior in extension/privilege_zone_rules/t0-all-repo-admin-role.json: The rule’s key was changed to GH_t0_all_repo_admin_role.
observed — Modified behavior in extension/privilege_zone_rules/t0-app-installations-all-repos.json: Adds the rule key GH_t0_app_installations_all_repos.
observed — Modified behavior in extension/privilege_zone_rules/t0-apps-all-repos.json: Adds the rule key GH_t0_apps_all_repos.
observed — Modified behavior in extension/privilege_zone_rules/t0-enterprise-owners-role.json: The rule key was added as GH_t0_enterprise_owners_role.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the main change: adding stable IDs to saved searches and Tier Zero rules, which matches the raw summary (query_key added to saved search JSON files and key added to Tier Zero rule JSON…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: adding stable IDs to saved searches and Tier Zero rules, which matches the raw summary (query_key added to saved search JSON files and key added to Tier Zero rule JSON files) and the PR objectives (address Generate BHE Bundle failures caused by missing query_key and key). It includes a ticket reference and a 'fix:' prefix, which are acceptable. The title is 67 characters, so it is concise and within a typical length. It is a single sentence and specific enough for a teammate scanning history.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
A rabbit checks each JSON line, And finds a key in every sign. Tier Zero rules gain names to show, Saved searches get keys in tow. The burrow hops through fields made clear.
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 0fd7acf9-6981-401f-a5e6-3ffa4c2dfdbc
Commits
Reviewing files that changed from the base of the PR and between 7a27fbe and d39736e.
Included review availability: This review used your included allowance. 9 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generate BHE Bundle fails when GitHub saved searches lack query_key and Tier Zero rules lack key, blocking Enterprise bundle updates. Add unique, stable GH_ identifiers to all 62 saved searches and 12 Tier Zero rules, preserving the existing assigned search ID and all query and rule content.
Validation: parsed all 74 JSON files, checked ID presence and uniqueness, compared non-ID content against the base revision, and passed git diff --check. End-to-end Generate BHE Bundle and ZIP validation will be performed separately by the maintainer.
Summary by CodeRabbit